import pandas as pd


path = 'D:\一些数据.xlsx'
#
dates = pd.read_excel(path)
#
# print(dates.iloc[0:2, :])

print(dates.loc[dates.loc[:, 'close'] <= 12])


